<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/LogisticsShareFunction/SearchShareFunction.js"></script>
	</head>

	<body style="padding: 0px;">
		<div class="easyui-layout" style="width: 100%;height: 500px;">
			<div id="div_search" data-options="region:'north'" style="height: 80px;">
				
			</div>
			<div data-options="region:'center'">
				<div class="easyui-tabs" id="div_tabs" style="width: 100%;">

					<iframe id="ifrmList" src="SalesSettlementList.html" style="width: 100%;height: 380px;" frameborder="0" scrolling="no"></iframe>

				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var data = [{					 
				"name": "配送开始时间",
				"type": "DISTRIBUTION_DATE_START",
				"className": "easyui-datebox",
				"id": "search_begin_time"
			}, {
				"name": "配送结束时间",
				"type": "DISTRIBUTION_DATE_END",
				"className": "easyui-datebox",
				"id": "search_end_time"			
		}];
		var searchType = SEARCH_CUSTOMER_NAME+SEARCH_CUSTOMER_TYPE + SEARCH_ISVERIFY;
		searchType+=SEARCH_ORDER_NO;
		var content = buildSearchOptions(searchType,data);
		$("#div_search").append(content);
		function doSearch(){
			var searchCondition = processSearchCondition();
			var _url = "";
			_url = RemoteLinkAddress + '/logistics/receiveorder/list.do?' + searchCondition;
			console.log(_url);
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('options').url = _url;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('reload');
		}
		Tabs_Hover();
	</script>

</html>